package com.xushu.app.service;


import com.xushu.springframework.Autowired;
import com.xushu.springframework.Component;

/**
 * Created by xsls
 */
@Component
public class BService implements IBService{


	@Autowired
    private IAService AService;


	// 默认
	public BService() {
        System.out.println("创建B");
    }


	@Override
    public void say() {
        System.out.println("Hi~ I'm B, My A is:"+AService.getClass());
    }

}
